import request from '@/utils/request'
// 引荐记录
export function list(data) {
  return request({
    url: '/points/referral/records/list',
    method: 'post',
    data: data
  })
}
// 限时任务
export function taskList(data) {
  return request({
    url: '/points/newbieTask/list',
    method: 'post',
    data: data
  })
}
// 积分记录
export function recordList(data) {
  return request({
    url: '/points/record/list',
    method: 'post',
    data: data
  })
}
export function getPoints(data) {
  return request({
    url: '/system/user/points/' + data,
    method: 'get'
  })
}
export function cash(data) {
  return request({
    url: '/points/cash',
    method: 'post',
    data: data
  })
}
